package com.atguigu.gulimall.gulimallware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: Zjn ; Bring it on !!!
 * @Date: 2021/12/1 0001 12:19
 * Note:
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {

    @GetMapping(value = "/gulimallorder/order/status/{orderSn}")
    R getOrderStatus(@RequestParam String orderSn);

}
